package cn.chiship.bs.api.biz.pojo.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author lijian
 */
public class OrderCreateDto {

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "收件地址")
    private String address;

    @ApiModelProperty(value = "商品明细",required = true)
    private List<OrderProductDto> orderProductDtos;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<OrderProductDto> getOrderProductDtos() {
        return orderProductDtos;
    }

    public void setOrderProductDtos(List<OrderProductDto> orderProductDtos) {
        this.orderProductDtos = orderProductDtos;
    }
}